[INFO] cloning repository https://github.com/Nerixyz/rewards
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nerixyz/rewards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNerixyz%2Frewards", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNerixyz%2Frewards'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4a22f895a69b21dddec2a1d4e22ad92e48f94c1a
[INFO] checking Nerixyz/rewards against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNerixyz%2Frewards" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Nerixyz/rewards on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Nerixyz/rewards
[INFO] finished tweaking git repo https://github.com/Nerixyz/rewards
[INFO] tweaked toml for git repo https://github.com/Nerixyz/rewards written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/Nerixyz/rewards already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/twitch-rs/twitch_api.git`
[INFO] [stderr]     Updating git submodule `https://github.com/twitch-rs/twitch_oauth2`
[INFO] [stderr]     Updating git submodule `https://github.com/twitch-rs/twitch_types`
[INFO] [stderr]     Updating git repository `https://github.com/Nerixyz/nerix-utils-rs`
[INFO] [stderr]     Updating git repository `https://github.com/Nerixyz/twitch-pubsub-rs`
[INFO] [stderr]     Updating git repository `https://github.com/Nerixyz/uptimer.git`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded deadpool-postgres v0.10.2
[INFO] [stderr]   Downloaded actix_derive v0.6.0
[INFO] [stderr]   Downloaded serde_path_to_error v0.1.8
[INFO] [stderr]   Downloaded serde_qs v0.10.1
[INFO] [stderr]   Downloaded redis v0.21.5
[INFO] [stderr]   Downloaded aliri_braid_impl v0.1.10
[INFO] [stderr]   Downloaded aliri_braid v0.1.10
[INFO] [stderr]   Downloaded twitch-irc v4.0.0
[INFO] [stderr]   Downloaded dotenv_codegen v0.15.0
[INFO] [stderr]   Downloaded deadpool-redis v0.10.2
[INFO] [stderr]   Downloaded windows v0.12.0
[INFO] [stderr]   Downloaded iana-time-zone v0.1.44
[INFO] [stderr]   Downloaded actix-cors v0.6.2
[INFO] [stderr]   Downloaded dotenv_codegen_implementation v0.15.0
[INFO] [stderr]   Downloaded actix v0.13.0
[INFO] [stderr]   Downloaded raw-cpuid v10.4.0
[INFO] [stderr]   Downloaded windows_macros v0.12.0
[INFO] [stderr]   Downloaded twitch_oauth2 v0.7.0
[INFO] [stderr]   Downloaded git_info v0.1.2
[INFO] [stderr]   Downloaded windows_gen v0.12.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c92167da381fa25214ff7e7b135314221310d9811c18b5fc544c67e3ae29eb4e
[INFO] running `Command { std: "docker" "start" "-a" "c92167da381fa25214ff7e7b135314221310d9811c18b5fc544c67e3ae29eb4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c92167da381fa25214ff7e7b135314221310d9811c18b5fc544c67e3ae29eb4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c92167da381fa25214ff7e7b135314221310d9811c18b5fc544c67e3ae29eb4e", kill_on_drop: false }`
[INFO] [stdout] c92167da381fa25214ff7e7b135314221310d9811c18b5fc544c67e3ae29eb4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed8a296fc51469e3954413bc16041d1e0c69d409c2c5cee42870e3550fc993dd
[INFO] running `Command { std: "docker" "start" "-a" "ed8a296fc51469e3954413bc16041d1e0c69d409c2c5cee42870e3550fc993dd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.131
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]    Compiling futures-core v0.3.23
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]    Compiling serde_derive v1.0.143
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]    Compiling serde v1.0.143
[INFO] [stderr]     Checking futures-sink v0.3.23
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling futures-channel v0.3.23
[INFO] [stderr]    Compiling futures-task v0.3.23
[INFO] [stderr]    Compiling futures-util v0.3.23
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-io v0.3.23
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.23
[INFO] [stderr]    Compiling tracing-attributes v0.1.22
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking time v0.3.13
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking thiserror v1.0.32
[INFO] [stderr]    Compiling paste v1.0.8
[INFO] [stderr]    Compiling crossbeam-utils v0.8.11
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking md-5 v0.10.1
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]    Compiling zstd-sys v2.0.1+zstd.1.5.2
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking psl-types v2.0.11
[INFO] [stderr]    Compiling crossbeam-queue v0.3.6
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]     Checking publicsuffix v2.2.2
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v0.14.20
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]     Checking local-waker v0.1.3
[INFO] [stderr]     Checking iana-time-zone v0.1.44
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.3
[INFO] [stderr]     Checking alloc-stdlib v0.2.1
[INFO] [stderr]     Checking chrono v0.4.22
[INFO] [stderr]     Checking cookie_store v0.16.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking actix-rt v2.7.0
[INFO] [stderr]     Checking futures-executor v0.3.23
[INFO] [stderr]    Compiling aliri_braid_impl v0.1.10
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]     Checking either v1.7.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]     Checking miniz_oxide v0.5.3
[INFO] [stderr]     Checking aliri_braid v0.1.10
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]     Checking reqwest v0.11.11
[INFO] [stderr]     Checking futures v0.3.23
[INFO] [stderr]     Checking actix-utils v3.0.0
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]    Compiling displaydoc v0.2.3
[INFO] [stderr]    Compiling serde_repr v0.1.9
[INFO] [stderr]    Compiling bytestring v1.1.0
[INFO] [stderr]    Compiling firestorm v0.5.1
[INFO] [stderr]    Compiling crc-catalog v2.1.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling sqlformat v0.1.8
[INFO] [stderr]     Checking twitch_types v0.2.0 (https://github.com/twitch-rs/twitch_api.git?rev=340a582#340a5822)
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]    Compiling crc v3.0.0
[INFO] [stderr]    Compiling actix-router v0.5.0
[INFO] [stderr]    Compiling hkdf v0.12.3
[INFO] [stderr]    Compiling sqlx-rt v0.6.1
[INFO] [stderr]    Compiling futures-intrusive v0.4.0
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling dotenvy v0.15.1
[INFO] [stderr]    Compiling hashlink v0.8.0
[INFO] [stderr]     Checking local-channel v0.1.3
[INFO] [stderr]    Compiling tokio-stream v0.1.9
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]     Checking actix-codec v0.5.0
[INFO] [stderr]     Checking sha1 v0.10.1
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling metrics v0.18.1
[INFO] [stderr]    Compiling whoami v1.2.1
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling actix-web-codegen v4.0.1
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking actix-server v2.1.1
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling metrics-macros v0.5.1
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking toml v0.5.9
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]    Compiling sqlx-core v0.6.1
[INFO] [stderr]     Checking siphasher v0.3.10
[INFO] [stderr]    Compiling anyhow v1.0.61
[INFO] [stderr]     Checking postgres-protocol v0.6.4
[INFO] [stderr]     Checking phf_shared v0.10.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling semver v1.0.13
[INFO] [stderr]     Checking phf v0.10.1
[INFO] [stderr]     Checking twitch_oauth2 v0.7.0 (https://github.com/twitch-rs/twitch_api.git?rev=340a582#340a5822)
[INFO] [stderr]     Checking postgres-types v0.2.3
[INFO] [stderr]     Checking serde_path_to_error v0.1.8
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling enum_dispatch v0.3.8
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.10
[INFO] [stderr]     Checking tokio-postgres v0.7.6
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking deadpool-runtime v0.1.2
[INFO] [stderr]     Checking raw-cpuid v10.4.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking retain_mut v0.1.9
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking deadpool v0.9.5
[INFO] [stderr]     Checking twitch_api v0.6.1 (https://github.com/twitch-rs/twitch_api.git?rev=340a582#340a5822)
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking quanta v0.9.3
[INFO] [stderr]     Checking combine v4.6.6
[INFO] [stderr]     Checking tokio-util v0.6.10
[INFO] [stderr]     Checking twitch-irc v4.0.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.11
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking tungstenite v0.17.3
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]    Compiling git_info v0.1.2
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking fastrand v1.8.0
[INFO] [stderr]     Checking dtoa v0.4.8
[INFO] [stderr]     Checking sketches-ddsketch v0.1.3
[INFO] [stderr]     Checking atomic-shim v0.2.0
[INFO] [stderr]     Checking pin-project v1.0.11
[INFO] [stderr]     Checking metrics-util v0.11.1
[INFO] [stderr]    Compiling rewards v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling dotenv_codegen_implementation v0.15.0
[INFO] [stderr]     Checking async-tungstenite v0.17.2
[INFO] [stderr]     Checking console v0.15.1
[INFO] [stderr]     Checking simple_asn1 v0.6.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking redis v0.21.5
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]    Compiling actix_derive v0.6.0
[INFO] [stderr]     Checking pem v1.1.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking zeroize v1.5.7
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking askama_escape v0.10.3
[INFO] [stderr]     Checking http-range v0.1.5
[INFO] [stderr]     Checking actix v0.13.0
[INFO] [stderr]     Checking async-stream v0.3.3
[INFO] [stderr]     Checking dialoguer v0.10.2
[INFO] [stderr]     Checking dotenv_codegen v0.15.0
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking metrics-exporter-prometheus v0.8.0
[INFO] [stderr]     Checking deadpool-postgres v0.10.2
[INFO] [stderr]     Checking twitch_oauth2 v0.7.0
[INFO] [stderr]     Checking serde_qs v0.10.1
[INFO] [stderr]     Checking uptimer v0.1.0 (https://github.com/Nerixyz/uptimer.git?rev=04002e9#04002e9d)
[INFO] [stderr]     Checking setup v0.1.0 (/opt/rustwide/workdir/setup)
[INFO] [stderr]     Checking deadpool-redis v0.10.2
[INFO] [stderr]    Compiling sqlx-macros v0.6.1
[INFO] [stderr]     Checking twitch-pubsub v0.2.0 (https://github.com/Nerixyz/twitch-pubsub-rs?rev=eb1f170#eb1f1706)
[INFO] [stderr]     Checking jsonwebtoken v8.1.1
[INFO] [stderr]     Checking sqlx v0.6.1
[INFO] [stderr]     Checking config v0.1.0 (/opt/rustwide/workdir/config)
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking actix-http v3.2.1
[INFO] [stderr]     Checking actix-web v4.1.0
[INFO] [stderr]     Checking errors v0.2.2 (https://github.com/Nerixyz/nerix-utils-rs?tag=errors-v0.2.2#58a82ec0)
[INFO] [stderr]     Checking actix-files v0.6.2
[INFO] [stderr]     Checking actix-metrics v0.4.0 (https://github.com/Nerixyz/nerix-utils-rs?tag=actix-metrics-v0.4.0#58a82ec0)
[INFO] [stderr]     Checking actix-cors v0.6.2
[INFO] [stderr]     Checking models v0.1.0 (/opt/rustwide/workdir/models)
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/banned_emote.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |       let result = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 13 | |         "SELECT 1 FROM banned_emotes WHERE channel_id = $1 AND emote_id = $2 and platform = $3",
[INFO] [stdout] 14 | |         channel_id,
[INFO] [stdout] 15 | |         emote_id,
[INFO] [stdout] 16 | |         platform as _
[INFO] [stdout] 17 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/banned_emote.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | /     sqlx::query!(
[INFO] [stdout] 31 | |         "INSERT INTO banned_emotes (channel_id, emote_id, platform) VALUES ($1, $2, $3)",
[INFO] [stdout] 32 | |         channel_id,
[INFO] [stdout] 33 | |         emote_id,
[INFO] [stdout] 34 | |         platform as _
[INFO] [stdout] 35 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/banned_emote.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | /     sqlx::query_scalar!(
[INFO] [stdout] 49 | |         "DELETE FROM banned_emotes WHERE channel_id = $1 AND emote_id = $2 and platform = $3",
[INFO] [stdout] 50 | |         channel_id,
[INFO] [stdout] 51 | |         emote_id,
[INFO] [stdout] 52 | |         platform as _
[INFO] [stdout] 53 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/config.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |           let _ = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 23 | |             "UPDATE config SET value = $2 WHERE key = $1",
[INFO] [stdout] 24 | |             self.key,
[INFO] [stdout] 25 | |             Json(&self.value) as _
[INFO] [stdout] 26 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/banned_emote.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |       let result = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 13 | |         "SELECT 1 FROM banned_emotes WHERE channel_id = $1 AND emote_id = $2 and platform = $3",
[INFO] [stdout] 14 | |         channel_id,
[INFO] [stdout] 15 | |         emote_id,
[INFO] [stdout] 16 | |         platform as _
[INFO] [stdout] 17 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/banned_emote.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | /     sqlx::query!(
[INFO] [stdout] 31 | |         "INSERT INTO banned_emotes (channel_id, emote_id, platform) VALUES ($1, $2, $3)",
[INFO] [stdout] 32 | |         channel_id,
[INFO] [stdout] 33 | |         emote_id,
[INFO] [stdout] 34 | |         platform as _
[INFO] [stdout] 35 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/banned_emote.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | /     sqlx::query_scalar!(
[INFO] [stdout] 49 | |         "DELETE FROM banned_emotes WHERE channel_id = $1 AND emote_id = $2 and platform = $3",
[INFO] [stdout] 50 | |         channel_id,
[INFO] [stdout] 51 | |         emote_id,
[INFO] [stdout] 52 | |         platform as _
[INFO] [stdout] 53 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/config.rs:45:27
[INFO] [stdout]    |
[INFO] [stdout] 45 |           let entry: Self = sqlx::query_as!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 46 | |             ConfigEntry,
[INFO] [stdout] 47 | |             r#"
[INFO] [stdout] 48 | |             SELECT key, value as "value: Json<ConfigValue>"
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             key
[INFO] [stdout] 53 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |       let settings = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 18 | |         DiscordUserSettings,
[INFO] [stdout] 19 | |         "SELECT * FROM discord_settings WHERE user_id = $1",
[INFO] [stdout] 20 | |         user_id
[INFO] [stdout] 21 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let url = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 31 | |         "SELECT url FROM discord_settings WHERE user_id = $1 AND log_emotes = true",
[INFO] [stdout] 32 | |         user_id
[INFO] [stdout] 33 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     sqlx::query_scalar!(
[INFO] [stdout] 43 | |         "INSERT INTO discord_settings (user_id, url) VALUES ($1, $2) ON CONFLICT (user_id) DO UPDATE SET url = excluded.url",
[INFO] [stdout] 44 | |         user_id, url
[INFO] [stdout] 45 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     sqlx::query_scalar!("DELETE FROM discord_settings WHERE user_id = $1", user_id)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:9:23
[INFO] [stdout]    |
[INFO] [stdout] 9  |           let editors = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 10 | |             // language=PostgreSQL
[INFO] [stdout] 11 | |             "
[INFO] [stdout] 12 | |                 SELECT editor_id
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |             broadcaster_id
[INFO] [stdout] 17 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 |           let broadcasters = sqlx::query_scalar!(
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 26 | |             // language=PostgreSQL
[INFO] [stdout] 27 | |             "
[INFO] [stdout] 28 | |                 SELECT broadcaster_id
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             editor_id
[INFO] [stdout] 33 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 46 | |             User,
[INFO] [stdout] 47 | |             // language=PostgreSQL
[INFO] [stdout] 48 | |             "
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |             broadcaster_id,
[INFO] [stdout] 56 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |           let _ = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 69 | |             // language=PostgreSQL
[INFO] [stdout] 70 | |             "
[INFO] [stdout] 71 | |             INSERT INTO editors
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | |             broadcaster_id
[INFO] [stdout] 78 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |           let _ = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 90 | |             // language=PostgreSQL
[INFO] [stdout] 91 | |             "
[INFO] [stdout] 92 | |             INSERT INTO editors
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |             broadcaster_name
[INFO] [stdout] 99 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/editor.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 112 | |             // language=PostgreSQL
[INFO] [stdout] 113 | |             "
[INFO] [stdout] 114 | |             DELETE FROM editors
[INFO] [stdout] ...   |
[INFO] [stdout] 118 | |             editor_name
[INFO] [stdout] 119 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/editor.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 133 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 134 | |             // language=PostgreSQL
[INFO] [stdout] 135 | |             "
[INFO] [stdout] 136 | |             DELETE FROM editors
[INFO] [stdout] ...   |
[INFO] [stdout] 140 | |             editor_id
[INFO] [stdout] 141 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/config.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |           let _ = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 23 | |             "UPDATE config SET value = $2 WHERE key = $1",
[INFO] [stdout] 24 | |             self.key,
[INFO] [stdout] 25 | |             Json(&self.value) as _
[INFO] [stdout] 26 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/config.rs:45:27
[INFO] [stdout]    |
[INFO] [stdout] 45 |           let entry: Self = sqlx::query_as!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 46 | |             ConfigEntry,
[INFO] [stdout] 47 | |             r#"
[INFO] [stdout] 48 | |             SELECT key, value as "value: Json<ConfigValue>"
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             key
[INFO] [stdout] 53 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |       let settings = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 18 | |         DiscordUserSettings,
[INFO] [stdout] 19 | |         "SELECT * FROM discord_settings WHERE user_id = $1",
[INFO] [stdout] 20 | |         user_id
[INFO] [stdout] 21 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let url = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 31 | |         "SELECT url FROM discord_settings WHERE user_id = $1 AND log_emotes = true",
[INFO] [stdout] 32 | |         user_id
[INFO] [stdout] 33 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     sqlx::query_scalar!(
[INFO] [stdout] 43 | |         "INSERT INTO discord_settings (user_id, url) VALUES ($1, $2) ON CONFLICT (user_id) DO UPDATE SET url = excluded.url",
[INFO] [stdout] 44 | |         user_id, url
[INFO] [stdout] 45 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     sqlx::query_scalar!("DELETE FROM discord_settings WHERE user_id = $1", user_id)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:9:23
[INFO] [stdout]    |
[INFO] [stdout] 9  |           let editors = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 10 | |             // language=PostgreSQL
[INFO] [stdout] 11 | |             "
[INFO] [stdout] 12 | |                 SELECT editor_id
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |             broadcaster_id
[INFO] [stdout] 17 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 |           let broadcasters = sqlx::query_scalar!(
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 26 | |             // language=PostgreSQL
[INFO] [stdout] 27 | |             "
[INFO] [stdout] 28 | |                 SELECT broadcaster_id
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             editor_id
[INFO] [stdout] 33 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/log_entry.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |           let logs = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 16 | |             Self,
[INFO] [stdout] 17 | |             "SELECT date, content FROM logs WHERE user_id = $1 ORDER BY date desc",
[INFO] [stdout] 18 | |             id
[INFO] [stdout] 19 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/log_entry.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | /         sqlx::query!(
[INFO] [stdout] 29 | |             "INSERT INTO logs (user_id, date, content) VALUES ($1, $2, $3)",
[INFO] [stdout] 30 | |             id,
[INFO] [stdout] 31 | |             Utc::now(),
[INFO] [stdout] 32 | |             content
[INFO] [stdout] 33 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 46 | |             User,
[INFO] [stdout] 47 | |             // language=PostgreSQL
[INFO] [stdout] 48 | |             "
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |             broadcaster_id,
[INFO] [stdout] 56 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |           let _ = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 69 | |             // language=PostgreSQL
[INFO] [stdout] 70 | |             "
[INFO] [stdout] 71 | |             INSERT INTO editors
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | |             broadcaster_id
[INFO] [stdout] 78 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |           let _ = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 90 | |             // language=PostgreSQL
[INFO] [stdout] 91 | |             "
[INFO] [stdout] 92 | |             INSERT INTO editors
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |             broadcaster_name
[INFO] [stdout] 99 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/editor.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 112 | |             // language=PostgreSQL
[INFO] [stdout] 113 | |             "
[INFO] [stdout] 114 | |             DELETE FROM editors
[INFO] [stdout] ...   |
[INFO] [stdout] 118 | |             editor_name
[INFO] [stdout] 119 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/editor.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 133 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 134 | |             // language=PostgreSQL
[INFO] [stdout] 135 | |             "
[INFO] [stdout] 136 | |             DELETE FROM editors
[INFO] [stdout] ...   |
[INFO] [stdout] 140 | |             editor_id
[INFO] [stdout] 141 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/log_entry.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |           let logs = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 16 | |             Self,
[INFO] [stdout] 17 | |             "SELECT date, content FROM logs WHERE user_id = $1 ORDER BY date desc",
[INFO] [stdout] 18 | |             id
[INFO] [stdout] 19 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/log_entry.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | /         sqlx::query!(
[INFO] [stdout] 29 | |             "INSERT INTO logs (user_id, date, content) VALUES ($1, $2, $3)",
[INFO] [stdout] 30 | |             id,
[INFO] [stdout] 31 | |             Utc::now(),
[INFO] [stdout] 32 | |             content
[INFO] [stdout] 33 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:105:28
[INFO] [stdout]     |
[INFO] [stdout] 105 |           let reward: Self = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 106 | |             Reward,
[INFO] [stdout] 107 | |             r#"
[INFO] [stdout] 108 | |             SELECT id, user_id, data as "data: Json<RewardData>", live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | |             id
[INFO] [stdout] 113 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:125:34
[INFO] [stdout]     |
[INFO] [stdout] 125 |           let rewards: Vec<Self> = sqlx::query_as!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 126 | |             Reward,
[INFO] [stdout] 127 | |             r#"
[INFO] [stdout] 128 | |             SELECT id, user_id, data as "data: Json<RewardData>", live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 132 | |             user_id.as_ref()
[INFO] [stdout] 133 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:147:41
[INFO] [stdout]     |
[INFO] [stdout] 147 |           let data: Vec<RewardDataOnly> = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 148 | |             RewardDataOnly,
[INFO] [stdout] 149 | |             r#"
[INFO] [stdout] 150 | |             SELECT data as "data: Json<RewardData>"
[INFO] [stdout] ...   |
[INFO] [stdout] 155 | |             reward_type
[INFO] [stdout] 156 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:177:23
[INFO] [stdout]     |
[INFO] [stdout] 177 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 178 | |             LiveReward,
[INFO] [stdout] 179 | |             "
[INFO] [stdout] 180 | |             SELECT id, user_id, live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |             user_id
[INFO] [stdout] 185 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:197:23
[INFO] [stdout]     |
[INFO] [stdout] 197 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 198 | |             LiveReward,
[INFO] [stdout] 199 | |             "
[INFO] [stdout] 200 | |             SELECT id, user_id, live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 204 | |             user_id
[INFO] [stdout] 205 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:214:23
[INFO] [stdout]     |
[INFO] [stdout] 214 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 215 | |             LiveRewardAT,
[INFO] [stdout] 216 | |             r#"
[INFO] [stdout] 217 | |             SELECT rewards.id as "id!", user_id as "user_id!", live_delay as "live_delay!", access_token as "access_token!"
[INFO] [stdout] ...   |
[INFO] [stdout] 221 | |             "#
[INFO] [stdout] 222 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:232:17
[INFO] [stdout]     |
[INFO] [stdout] 232 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 233 | |             "INSERT INTO rewards (id, user_id, data, live_delay) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 234 | |             self.id,
[INFO] [stdout] 235 | |             self.user_id,
[INFO] [stdout] 236 | |             Json(&self.data) as _,
[INFO] [stdout] 237 | |             self.live_delay
[INFO] [stdout] 238 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:249:17
[INFO] [stdout]     |
[INFO] [stdout] 249 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 250 | |             "UPDATE rewards SET data=$2, live_delay = $3 WHERE id=$1",
[INFO] [stdout] 251 | |             self.id,
[INFO] [stdout] 252 | |             Json(self.data.clone()) as _,
[INFO] [stdout] 253 | |             self.live_delay
[INFO] [stdout] 254 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:269:17
[INFO] [stdout]     |
[INFO] [stdout] 269 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 270 | |             "UPDATE rewards SET unpause_at = $2 WHERE id=$1",
[INFO] [stdout] 271 | |             id,
[INFO] [stdout] 272 | |             unpause_at
[INFO] [stdout] 273 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:284:17
[INFO] [stdout]     |
[INFO] [stdout] 284 |         let _ = sqlx::query!("DELETE FROM rewards WHERE id = $1", id)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 | /         sqlx::query_as!(
[INFO] [stdout] 307 | |             RewardToUpdate,
[INFO] [stdout] 308 | |             "
[INFO] [stdout] 309 | |             SELECT u.id as broadcaster_id, access_token, refresh_token, rewards.id as reward_id
[INFO] [stdout] ...   |
[INFO] [stdout] 312 | |         "
[INFO] [stdout] 313 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:105:28
[INFO] [stdout]     |
[INFO] [stdout] 105 |           let reward: Self = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 106 | |             Reward,
[INFO] [stdout] 107 | |             r#"
[INFO] [stdout] 108 | |             SELECT id, user_id, data as "data: Json<RewardData>", live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | |             id
[INFO] [stdout] 113 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:125:34
[INFO] [stdout]     |
[INFO] [stdout] 125 |           let rewards: Vec<Self> = sqlx::query_as!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 126 | |             Reward,
[INFO] [stdout] 127 | |             r#"
[INFO] [stdout] 128 | |             SELECT id, user_id, data as "data: Json<RewardData>", live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 132 | |             user_id.as_ref()
[INFO] [stdout] 133 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:147:41
[INFO] [stdout]     |
[INFO] [stdout] 147 |           let data: Vec<RewardDataOnly> = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 148 | |             RewardDataOnly,
[INFO] [stdout] 149 | |             r#"
[INFO] [stdout] 150 | |             SELECT data as "data: Json<RewardData>"
[INFO] [stdout] ...   |
[INFO] [stdout] 155 | |             reward_type
[INFO] [stdout] 156 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:177:23
[INFO] [stdout]     |
[INFO] [stdout] 177 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 178 | |             LiveReward,
[INFO] [stdout] 179 | |             "
[INFO] [stdout] 180 | |             SELECT id, user_id, live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |             user_id
[INFO] [stdout] 185 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:197:23
[INFO] [stdout]     |
[INFO] [stdout] 197 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 198 | |             LiveReward,
[INFO] [stdout] 199 | |             "
[INFO] [stdout] 200 | |             SELECT id, user_id, live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 204 | |             user_id
[INFO] [stdout] 205 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:214:23
[INFO] [stdout]     |
[INFO] [stdout] 214 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 215 | |             LiveRewardAT,
[INFO] [stdout] 216 | |             r#"
[INFO] [stdout] 217 | |             SELECT rewards.id as "id!", user_id as "user_id!", live_delay as "live_delay!", access_token as "access_token!"
[INFO] [stdout] ...   |
[INFO] [stdout] 221 | |             "#
[INFO] [stdout] 222 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | /         sqlx::query!(
[INFO] [stdout] 35 | |             "INSERT INTO slots (user_id, reward_id, platform) VALUES ($1, $2, $3)",
[INFO] [stdout] 36 | |             user_id,
[INFO] [stdout] 37 | |             reward_id,
[INFO] [stdout] 38 | |             platform as _,
[INFO] [stdout] 39 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |           let available = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 53 | |             Self,
[INFO] [stdout] 54 | |             r#"
[INFO] [stdout] 55 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] ...  |
[INFO] [stdout] 59 | |             user_id
[INFO] [stdout] 60 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:232:17
[INFO] [stdout]     |
[INFO] [stdout] 232 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 233 | |             "INSERT INTO rewards (id, user_id, data, live_delay) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 234 | |             self.id,
[INFO] [stdout] 235 | |             self.user_id,
[INFO] [stdout] 236 | |             Json(&self.data) as _,
[INFO] [stdout] 237 | |             self.live_delay
[INFO] [stdout] 238 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |           let n_available = sqlx::query_scalar!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 73 | |             "
[INFO] [stdout] 74 | |             SELECT count(*) FROM slots
[INFO] [stdout] 75 | |             WHERE reward_id = $1 and user_id = $2 and emote_id is null and expires is null
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |             user_id
[INFO] [stdout] 79 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:91:27
[INFO] [stdout]    |
[INFO] [stdout] 91 |           let n_available = sqlx::query_scalar!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 92 | |             "
[INFO] [stdout] 93 | |             SELECT count(*) FROM slots
[INFO] [stdout] 94 | |             WHERE platform = $1 and user_id = $2 and emote_id is null and expires is null
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |             user_id
[INFO] [stdout] 98 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:249:17
[INFO] [stdout]     |
[INFO] [stdout] 249 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 250 | |             "UPDATE rewards SET data=$2, live_delay = $3 WHERE id=$1",
[INFO] [stdout] 251 | |             self.id,
[INFO] [stdout] 252 | |             Json(self.data.clone()) as _,
[INFO] [stdout] 253 | |             self.live_delay
[INFO] [stdout] 254 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:110:19
[INFO] [stdout]     |
[INFO] [stdout] 110 |           let all = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 111 | |             Self,
[INFO] [stdout] 112 | |             r#"
[INFO] [stdout] 113 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |             user_id
[INFO] [stdout] 118 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:269:17
[INFO] [stdout]     |
[INFO] [stdout] 269 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 270 | |             "UPDATE rewards SET unpause_at = $2 WHERE id=$1",
[INFO] [stdout] 271 | |             id,
[INFO] [stdout] 272 | |             unpause_at
[INFO] [stdout] 273 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |           let pending = sqlx::query_as!(Self, r#"
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 127 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] 128 | |             WHERE emote_id is not null AND expires is not null AND expires < (now() + '1 minute'::interval)
[INFO] [stdout] 129 | |         "#).fetch_all(pool).await?;
[INFO] [stdout]     | |___________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:284:17
[INFO] [stdout]     |
[INFO] [stdout] 284 |         let _ = sqlx::query!("DELETE FROM rewards WHERE id = $1", id)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:140:20
[INFO] [stdout]     |
[INFO] [stdout] 140 |           let slot = sqlx::query_as!(Self, r#"
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 141 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] 142 | |             WHERE user_id = $1 AND lower(name) = lower($2)
[INFO] [stdout] 143 | |         "#, user_id, name).fetch_optional(pool).await?;
[INFO] [stdout]     | |__________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:155:20
[INFO] [stdout]     |
[INFO] [stdout] 155 |           let slot = sqlx::query_as!(Self, r#"
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 156 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] 157 | |             WHERE user_id = $1 AND emote_id = $2 and platform = $3
[INFO] [stdout] 158 | |         "#, user_id, emote_id, platform as _).fetch_optional(pool).await?;
[INFO] [stdout]     | |_____________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:165:26
[INFO] [stdout]     |
[INFO] [stdout] 165 |           let occupation = sqlx::query_as!(SlotOccupation,
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 166 | |             "
[INFO] [stdout] 167 | |             SELECT count(*) as available, (SELECT count(*) FROM slots WHERE user_id = $1) as total FROM slots
[INFO] [stdout] 168 | |             WHERE user_id = $1 and emote_id is null and expires is null
[INFO] [stdout] 169 | |         ",
[INFO] [stdout] 170 | |             user_id
[INFO] [stdout] 171 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:179:22
[INFO] [stdout]     |
[INFO] [stdout] 179 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 180 | |             "
[INFO] [stdout] 181 | |             SELECT name FROM slots
[INFO] [stdout] 182 | |             WHERE user_id = $1 and emote_id is not null and name is not null
[INFO] [stdout] 183 | |         ",
[INFO] [stdout] 184 | |             user_id
[INFO] [stdout] 185 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:193:22
[INFO] [stdout]     |
[INFO] [stdout] 193 |           let emotes = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 194 | |             Self,
[INFO] [stdout] 195 | |             r#"
[INFO] [stdout] 196 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] ...   |
[INFO] [stdout] 199 | |             user_id
[INFO] [stdout] 200 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 | /         sqlx::query!(
[INFO] [stdout] 209 | |             "UPDATE slots SET emote_id = $2, expires = $3, name = $4, added_by = $5, added_at = $6 WHERE id = $1",
[INFO] [stdout] 210 | |             self.id,
[INFO] [stdout] 211 | |             self.emote_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 215 | |             self.added_at,
[INFO] [stdout] 216 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 | /         sqlx::query!(
[INFO] [stdout] 226 | |             "UPDATE slots SET emote_id = null, expires = null, name = null, added_by = null, added_at = null WHERE id = $1",
[INFO] [stdout] 227 | |             id
[INFO] [stdout] 228 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         sqlx::query!("DELETE FROM slots WHERE id = $1", id)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let data = sqlx::query_as!(Self, "SELECT * FROM spotify WHERE user_id=$1", id)
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 | /         sqlx::query_as!(
[INFO] [stdout] 307 | |             RewardToUpdate,
[INFO] [stdout] 308 | |             "
[INFO] [stdout] 309 | |             SELECT u.id as broadcaster_id, access_token, refresh_token, rewards.id as reward_id
[INFO] [stdout] ...   |
[INFO] [stdout] 312 | |         "
[INFO] [stdout] 313 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:30:20
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let data = sqlx::query_as!(Self, "SELECT * FROM spotify")
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | /         sqlx::query!(
[INFO] [stdout] 45 | |             "
[INFO] [stdout] 46 | |             INSERT INTO spotify (user_id, access_token, refresh_token)
[INFO] [stdout] 47 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | |             refresh_token
[INFO] [stdout] 52 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | /         sqlx::query!(
[INFO] [stdout] 61 | |             "UPDATE spotify SET access_token=$2 WHERE user_id=$1",
[INFO] [stdout] 62 | |             id,
[INFO] [stdout] 63 | |             access_token
[INFO] [stdout] 64 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         sqlx::query!("DELETE FROM spotify WHERE user_id = $1", id,)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |           let data = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 85 | |             Self,
[INFO] [stdout] 86 | |             "SELECT only_while_live FROM spotify WHERE user_id=$1",
[INFO] [stdout] 87 | |             id
[INFO] [stdout] 88 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/spotify.rs:97:9
[INFO] [stdout]     |
[INFO] [stdout] 97  | /         sqlx::query_as!(
[INFO] [stdout] 98  | |             Self,
[INFO] [stdout] 99  | |             "UPDATE spotify SET only_while_live = $2 WHERE user_id = $1",
[INFO] [stdout] 100 | |             user_id,
[INFO] [stdout] 101 | |             self.only_while_live
[INFO] [stdout] 102 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 |           let emote = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 25 | |             Self,
[INFO] [stdout] 26 | |             r#"
[INFO] [stdout] 27 | |             SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |             platform as _
[INFO] [stdout] 34 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...   sqlx::query!("INSERT INTO swap_emotes (user_id, emote_id, platform, name, added_by, added_at) VALUES ($1, $2, $3, $4, $5, now())", user_id, emote_id, platform as _, name, added_by).ex...
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         sqlx::query!("DELETE FROM swap_emotes WHERE id = $1", id)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 |           let count = sqlx::query_scalar!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 68 | |             "
[INFO] [stdout] 69 | |             SELECT count(*)
[INFO] [stdout] 70 | |             FROM swap_emotes
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |             platform as _
[INFO] [stdout] 74 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |           let emote = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 83 | |             Self,
[INFO] [stdout] 84 | |             r#"
[INFO] [stdout] 85 | |             SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at
[INFO] [stdout] ...  |
[INFO] [stdout] 89 | |             name
[INFO] [stdout] 90 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:103:21
[INFO] [stdout]     |
[INFO] [stdout] 103 |           let emote = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 104 | |             Self,
[INFO] [stdout] 105 | |             r#"
[INFO] [stdout] 106 | |             SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |             platform as _
[INFO] [stdout] 112 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             sqlx::query_scalar!("SELECT name FROM swap_emotes WHERE user_id = $1", user_id,)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:129:22
[INFO] [stdout]     |
[INFO] [stdout] 129 |           let emotes = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 130 | |             Self,
[INFO] [stdout] 131 | |             r#"SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at FROM swap_emotes WHERE user_id = $1"#,
[INFO] [stdout] 132 | |             user_id,
[INFO] [stdout] 133 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 146 | |             "SELECT name FROM swap_emotes WHERE user_id = $1 AND platform = $2",
[INFO] [stdout] 147 | |             user_id,
[INFO] [stdout] 148 | |             platform as _
[INFO] [stdout] 149 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/timed_mode.rs:41:18
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let id = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 42 | |             "INSERT INTO timed_modes (user_id, mode, end_ts) VALUES ($1, $2, $3) RETURNING id",
[INFO] [stdout] 43 | |             user_id,
[INFO] [stdout] 44 | |             mode as _,
[INFO] [stdout] 45 | |             end
[INFO] [stdout] 46 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/timed_mode.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |           let modes = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 56 | |             Self,
[INFO] [stdout] 57 | |             r#"
[INFO] [stdout] 58 | |             SELECT timed_modes.id as "id!", user_id as "user_id!", end_ts as "end_ts!", mode as "mode!: Mode", name as "user_name!"
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |         "#
[INFO] [stdout] 62 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/timed_mode.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         sqlx::query!("DELETE FROM timed_modes WHERE id = $1", id)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:36:26
[INFO] [stdout]    |
[INFO] [stdout] 36 | ...User = sqlx::query_as!(User, "SELECT id, access_token, refresh_token, scopes, name, eventsub_id FROM users WHERE id = $1", id)
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 |           let users = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 46 | |             User,
[INFO] [stdout] 47 | |             "SELECT id, access_token, refresh_token, scopes, name, eventsub_id FROM users"
[INFO] [stdout] 48 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |           let names = sqlx::query_scalar!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 57 | |             // language=PostgreSQL
[INFO] [stdout] 58 | |             "SELECT name FROM users"
[INFO] [stdout] 59 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let ids = sqlx::query_scalar!("SELECT id FROM users WHERE eventsub_id IS null")
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:77:20
[INFO] [stdout]    |
[INFO] [stdout] 77 |           let data = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 78 | |             UserBttvData,
[INFO] [stdout] 79 | |             "SELECT id, bttv_id FROM users WHERE id = $1",
[INFO] [stdout] 80 | |             user_id
[INFO] [stdout] 81 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:90:20
[INFO] [stdout]    |
[INFO] [stdout] 90 |           let data = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 91 | |             UserSevenTvData,
[INFO] [stdout] 92 | |             "SELECT id, name, seventv_id FROM users WHERE id = $1",
[INFO] [stdout] 93 | |             user_id
[INFO] [stdout] 94 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 105 | |             "
[INFO] [stdout] 106 | |             INSERT
[INFO] [stdout] 107 | |             INTO users (id, access_token, refresh_token, scopes, name)
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |             self.name
[INFO] [stdout] 117 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | /         sqlx::query!(
[INFO] [stdout] 35 | |             "INSERT INTO slots (user_id, reward_id, platform) VALUES ($1, $2, $3)",
[INFO] [stdout] 36 | |             user_id,
[INFO] [stdout] 37 | |             reward_id,
[INFO] [stdout] 38 | |             platform as _,
[INFO] [stdout] 39 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 133 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 134 | |             "UPDATE users SET access_token = $2, refresh_token = $3 WHERE id = $1",
[INFO] [stdout] 135 | |             id.as_ref(),
[INFO] [stdout] 136 | |             access_token,
[INFO] [stdout] 137 | |             refresh_token
[INFO] [stdout] 138 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:148:17
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let _ = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 149 | |             "UPDATE users SET bttv_id = $2 WHERE id = $1",
[INFO] [stdout] 150 | |             user_id,
[INFO] [stdout] 151 | |             bttv_id
[INFO] [stdout] 152 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |           let _ = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 162 | |             "UPDATE users SET seventv_id = $2 WHERE id = $1",
[INFO] [stdout] 163 | |             user_id,
[INFO] [stdout] 164 | |             seventv_id
[INFO] [stdout] 165 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:175:17
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let _ = sqlx::query!("DELETE FROM users WHERE id = $1", id)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 186 | |             "UPDATE users SET eventsub_id = $2 WHERE id = $1",
[INFO] [stdout] 187 | |             user_id,
[INFO] [stdout] 188 | |             eventsub_id
[INFO] [stdout] 189 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |           let available = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 53 | |             Self,
[INFO] [stdout] 54 | |             r#"
[INFO] [stdout] 55 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] ...  |
[INFO] [stdout] 59 | |             user_id
[INFO] [stdout] 60 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |           let n_available = sqlx::query_scalar!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 73 | |             "
[INFO] [stdout] 74 | |             SELECT count(*) FROM slots
[INFO] [stdout] 75 | |             WHERE reward_id = $1 and user_id = $2 and emote_id is null and expires is null
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |             user_id
[INFO] [stdout] 79 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:91:27
[INFO] [stdout]    |
[INFO] [stdout] 91 |           let n_available = sqlx::query_scalar!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 92 | |             "
[INFO] [stdout] 93 | |             SELECT count(*) FROM slots
[INFO] [stdout] 94 | |             WHERE platform = $1 and user_id = $2 and emote_id is null and expires is null
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |             user_id
[INFO] [stdout] 98 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:110:19
[INFO] [stdout]     |
[INFO] [stdout] 110 |           let all = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 111 | |             Self,
[INFO] [stdout] 112 | |             r#"
[INFO] [stdout] 113 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |             user_id
[INFO] [stdout] 118 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |           let pending = sqlx::query_as!(Self, r#"
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 127 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] 128 | |             WHERE emote_id is not null AND expires is not null AND expires < (now() + '1 minute'::interval)
[INFO] [stdout] 129 | |         "#).fetch_all(pool).await?;
[INFO] [stdout]     | |___________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 198 | |             "UPDATE users SET eventsub_id = null WHERE eventsub_id = $1",
[INFO] [stdout] 199 | |             eventsub_id
[INFO] [stdout] 200 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:140:20
[INFO] [stdout]     |
[INFO] [stdout] 140 |           let slot = sqlx::query_as!(Self, r#"
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 141 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] 142 | |             WHERE user_id = $1 AND lower(name) = lower($2)
[INFO] [stdout] 143 | |         "#, user_id, name).fetch_optional(pool).await?;
[INFO] [stdout]     | |__________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:210:22
[INFO] [stdout]     |
[INFO] [stdout] 210 |           let old_id = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 211 | |             "
[INFO] [stdout] 212 | |             UPDATE users
[INFO] [stdout] 213 | |             SET eventsub_id = null
[INFO] [stdout] ...   |
[INFO] [stdout] 217 | |             user_id
[INFO] [stdout] 218 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:155:20
[INFO] [stdout]     |
[INFO] [stdout] 155 |           let slot = sqlx::query_as!(Self, r#"
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 156 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] 157 | |             WHERE user_id = $1 AND emote_id = $2 and platform = $3
[INFO] [stdout] 158 | |         "#, user_id, emote_id, platform as _).fetch_optional(pool).await?;
[INFO] [stdout]     | |_____________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:165:26
[INFO] [stdout]     |
[INFO] [stdout] 165 |           let occupation = sqlx::query_as!(SlotOccupation,
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 166 | |             "
[INFO] [stdout] 167 | |             SELECT count(*) as available, (SELECT count(*) FROM slots WHERE user_id = $1) as total FROM slots
[INFO] [stdout] 168 | |             WHERE user_id = $1 and emote_id is null and expires is null
[INFO] [stdout] 169 | |         ",
[INFO] [stdout] 170 | |             user_id
[INFO] [stdout] 171 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:179:22
[INFO] [stdout]     |
[INFO] [stdout] 179 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 180 | |             "
[INFO] [stdout] 181 | |             SELECT name FROM slots
[INFO] [stdout] 182 | |             WHERE user_id = $1 and emote_id is not null and name is not null
[INFO] [stdout] 183 | |         ",
[INFO] [stdout] 184 | |             user_id
[INFO] [stdout] 185 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:193:22
[INFO] [stdout]     |
[INFO] [stdout] 193 |           let emotes = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 194 | |             Self,
[INFO] [stdout] 195 | |             r#"
[INFO] [stdout] 196 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] ...   |
[INFO] [stdout] 199 | |             user_id
[INFO] [stdout] 200 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 | /         sqlx::query!(
[INFO] [stdout] 209 | |             "UPDATE slots SET emote_id = $2, expires = $3, name = $4, added_by = $5, added_at = $6 WHERE id = $1",
[INFO] [stdout] 210 | |             self.id,
[INFO] [stdout] 211 | |             self.emote_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 215 | |             self.added_at,
[INFO] [stdout] 216 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 | /         sqlx::query!(
[INFO] [stdout] 226 | |             "UPDATE slots SET emote_id = null, expires = null, name = null, added_by = null, added_at = null WHERE id = $1",
[INFO] [stdout] 227 | |             id
[INFO] [stdout] 228 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         sqlx::query!("DELETE FROM slots WHERE id = $1", id)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let data = sqlx::query_as!(Self, "SELECT * FROM spotify WHERE user_id=$1", id)
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:30:20
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let data = sqlx::query_as!(Self, "SELECT * FROM spotify")
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | /         sqlx::query!(
[INFO] [stdout] 45 | |             "
[INFO] [stdout] 46 | |             INSERT INTO spotify (user_id, access_token, refresh_token)
[INFO] [stdout] 47 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | |             refresh_token
[INFO] [stdout] 52 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | /         sqlx::query!(
[INFO] [stdout] 61 | |             "UPDATE spotify SET access_token=$2 WHERE user_id=$1",
[INFO] [stdout] 62 | |             id,
[INFO] [stdout] 63 | |             access_token
[INFO] [stdout] 64 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         sqlx::query!("DELETE FROM spotify WHERE user_id = $1", id,)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |           let data = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 85 | |             Self,
[INFO] [stdout] 86 | |             "SELECT only_while_live FROM spotify WHERE user_id=$1",
[INFO] [stdout] 87 | |             id
[INFO] [stdout] 88 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/spotify.rs:97:9
[INFO] [stdout]     |
[INFO] [stdout] 97  | /         sqlx::query_as!(
[INFO] [stdout] 98  | |             Self,
[INFO] [stdout] 99  | |             "UPDATE spotify SET only_while_live = $2 WHERE user_id = $1",
[INFO] [stdout] 100 | |             user_id,
[INFO] [stdout] 101 | |             self.only_while_live
[INFO] [stdout] 102 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 |           let emote = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 25 | |             Self,
[INFO] [stdout] 26 | |             r#"
[INFO] [stdout] 27 | |             SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |             platform as _
[INFO] [stdout] 34 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...   sqlx::query!("INSERT INTO swap_emotes (user_id, emote_id, platform, name, added_by, added_at) VALUES ($1, $2, $3, $4, $5, now())", user_id, emote_id, platform as _, name, added_by).ex...
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         sqlx::query!("DELETE FROM swap_emotes WHERE id = $1", id)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 |           let count = sqlx::query_scalar!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 68 | |             "
[INFO] [stdout] 69 | |             SELECT count(*)
[INFO] [stdout] 70 | |             FROM swap_emotes
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |             platform as _
[INFO] [stdout] 74 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |           let emote = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 83 | |             Self,
[INFO] [stdout] 84 | |             r#"
[INFO] [stdout] 85 | |             SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at
[INFO] [stdout] ...  |
[INFO] [stdout] 89 | |             name
[INFO] [stdout] 90 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:103:21
[INFO] [stdout]     |
[INFO] [stdout] 103 |           let emote = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 104 | |             Self,
[INFO] [stdout] 105 | |             r#"
[INFO] [stdout] 106 | |             SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |             platform as _
[INFO] [stdout] 112 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             sqlx::query_scalar!("SELECT name FROM swap_emotes WHERE user_id = $1", user_id,)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:129:22
[INFO] [stdout]     |
[INFO] [stdout] 129 |           let emotes = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 130 | |             Self,
[INFO] [stdout] 131 | |             r#"SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at FROM swap_emotes WHERE user_id = $1"#,
[INFO] [stdout] 132 | |             user_id,
[INFO] [stdout] 133 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 146 | |             "SELECT name FROM swap_emotes WHERE user_id = $1 AND platform = $2",
[INFO] [stdout] 147 | |             user_id,
[INFO] [stdout] 148 | |             platform as _
[INFO] [stdout] 149 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/timed_mode.rs:41:18
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let id = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 42 | |             "INSERT INTO timed_modes (user_id, mode, end_ts) VALUES ($1, $2, $3) RETURNING id",
[INFO] [stdout] 43 | |             user_id,
[INFO] [stdout] 44 | |             mode as _,
[INFO] [stdout] 45 | |             end
[INFO] [stdout] 46 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/timed_mode.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |           let modes = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 56 | |             Self,
[INFO] [stdout] 57 | |             r#"
[INFO] [stdout] 58 | |             SELECT timed_modes.id as "id!", user_id as "user_id!", end_ts as "end_ts!", mode as "mode!: Mode", name as "user_name!"
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |         "#
[INFO] [stdout] 62 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/timed_mode.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         sqlx::query!("DELETE FROM timed_modes WHERE id = $1", id)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:36:26
[INFO] [stdout]    |
[INFO] [stdout] 36 | ...User = sqlx::query_as!(User, "SELECT id, access_token, refresh_token, scopes, name, eventsub_id FROM users WHERE id = $1", id)
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 |           let users = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 46 | |             User,
[INFO] [stdout] 47 | |             "SELECT id, access_token, refresh_token, scopes, name, eventsub_id FROM users"
[INFO] [stdout] 48 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |           let names = sqlx::query_scalar!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 57 | |             // language=PostgreSQL
[INFO] [stdout] 58 | |             "SELECT name FROM users"
[INFO] [stdout] 59 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let ids = sqlx::query_scalar!("SELECT id FROM users WHERE eventsub_id IS null")
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:77:20
[INFO] [stdout]    |
[INFO] [stdout] 77 |           let data = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 78 | |             UserBttvData,
[INFO] [stdout] 79 | |             "SELECT id, bttv_id FROM users WHERE id = $1",
[INFO] [stdout] 80 | |             user_id
[INFO] [stdout] 81 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:90:20
[INFO] [stdout]    |
[INFO] [stdout] 90 |           let data = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 91 | |             UserSevenTvData,
[INFO] [stdout] 92 | |             "SELECT id, name, seventv_id FROM users WHERE id = $1",
[INFO] [stdout] 93 | |             user_id
[INFO] [stdout] 94 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 105 | |             "
[INFO] [stdout] 106 | |             INSERT
[INFO] [stdout] 107 | |             INTO users (id, access_token, refresh_token, scopes, name)
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |             self.name
[INFO] [stdout] 117 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 133 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 134 | |             "UPDATE users SET access_token = $2, refresh_token = $3 WHERE id = $1",
[INFO] [stdout] 135 | |             id.as_ref(),
[INFO] [stdout] 136 | |             access_token,
[INFO] [stdout] 137 | |             refresh_token
[INFO] [stdout] 138 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:148:17
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let _ = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 149 | |             "UPDATE users SET bttv_id = $2 WHERE id = $1",
[INFO] [stdout] 150 | |             user_id,
[INFO] [stdout] 151 | |             bttv_id
[INFO] [stdout] 152 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |           let _ = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 162 | |             "UPDATE users SET seventv_id = $2 WHERE id = $1",
[INFO] [stdout] 163 | |             user_id,
[INFO] [stdout] 164 | |             seventv_id
[INFO] [stdout] 165 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:175:17
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let _ = sqlx::query!("DELETE FROM users WHERE id = $1", id)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 186 | |             "UPDATE users SET eventsub_id = $2 WHERE id = $1",
[INFO] [stdout] 187 | |             user_id,
[INFO] [stdout] 188 | |             eventsub_id
[INFO] [stdout] 189 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 198 | |             "UPDATE users SET eventsub_id = null WHERE eventsub_id = $1",
[INFO] [stdout] 199 | |             eventsub_id
[INFO] [stdout] 200 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:210:22
[INFO] [stdout]     |
[INFO] [stdout] 210 |           let old_id = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 211 | |             "
[INFO] [stdout] 212 | |             UPDATE users
[INFO] [stdout] 213 | |             SET eventsub_id = null
[INFO] [stdout] ...   |
[INFO] [stdout] 217 | |             user_id
[INFO] [stdout] 218 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 76 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 76 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `models` due to 77 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `models` due to 77 previous errors
[INFO] running `Command { std: "docker" "inspect" "ed8a296fc51469e3954413bc16041d1e0c69d409c2c5cee42870e3550fc993dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed8a296fc51469e3954413bc16041d1e0c69d409c2c5cee42870e3550fc993dd", kill_on_drop: false }`
[INFO] [stdout] ed8a296fc51469e3954413bc16041d1e0c69d409c2c5cee42870e3550fc993dd
